package com.example.village.service;

import com.example.village.entity.UserEntity;
import com.example.village.entityVO.UserDimVO;
import com.example.village.entityVO.UserRegisterVO;
import com.example.village.entityVO.UserVO;

import java.util.List;

public interface UserService {

    UserEntity login(String username, String password);

    Boolean register(UserRegisterVO vo);

    Boolean add(UserEntity user);

    List<UserEntity> queryByDim(UserDimVO userDimVO);

    List<UserEntity> queryByParam(UserEntity userEntity);

    Boolean update(UserEntity userEntity);

    Boolean delete(Integer id);

    Boolean deleteMore(List<Integer> ids);

    List<UserVO> querySelect();

    UserEntity queryById(Integer id);
}
